/* ------------------处方管理---------------------- */
//处方单列表
const RecipeList = resolve => require(['@/page/xkh-pages/Recipe/RecipeList.vue'],resolve);
//处方单审核
const RecipeAudit = resolve => require(['@/page/xkh-pages/Recipe/RecipeAudit.vue'],resolve);
//订单详情
const OrderDetails = resolve => require(['@/page/xkh-pages/Recipe/OrderDetails.vue'],resolve);
//处方单
const Recipe = resolve => require(['@/page/xkh-pages/Recipe/Recipe.vue'],resolve);

/* ------------------药材管理---------------------- */
//药材列表
const HerbList = resolve => require(['@/page/xkh-pages/Herbs/HerbList.vue'],resolve);

/* ------------------内容/长寿经穴---------------------- */
//病例列表
const AcupointList = resolve => require(['@/page/xkh-pages/Acupoint/AcupointList.vue'],resolve);
//添加穴位
const AddAcupoint = resolve => require(['@/page/xkh-pages/Acupoint/AddAcupoint.vue'],resolve);
//编辑穴位
const EditAcupoint = resolve => require(['@/page/xkh-pages/Acupoint/EditAcupoint.vue'],resolve);

const XKH_ROUTER_INDEX = [
    {
        path: '/recipe/recipelist',
        name: 'RecipeList',
        component: RecipeList,
        meta:{
            title:"处方单列表"
        } 
    }, {
        path: '/recipe/recipeaudit',
        name: 'RecipeAudit',
        component: RecipeAudit,
        meta:{
            title:"处方单审核"
        } 
    }, {
        path: '/recipe/orderdetails',
        name: 'OrderDetails',
        component: OrderDetails,
        meta:{
            title:"订单详情"
        } 
    }, {
        path: '/recipe/recipe',
        name: 'Recipe',
        component: Recipe,
        meta:{
            title:"处方单"
        } 
    }, {
        path: '/herbs/herblist',
        name: 'HerbList',
        component: HerbList,
        meta:{
            title:"药材管理"
        } 
    },
    {
        path: '/acupoint/acupointlist',
        name: 'AcupointList',
        component: AcupointList,
        meta:{
            title:"病例列表"
        } 
    },
    {
        path: '/acupoint/addacupoint',
        name: 'AddAcupoint',
        component: AddAcupoint,
        meta:{
            title:"添加穴位"
        } 
    },
    {
        path: '/acupoint/editacupoint',
        name: 'EditAcupoint',
        component: EditAcupoint,
        meta:{
            title:"编辑穴位"
        } 
    },
];

export default XKH_ROUTER_INDEX;